package ModelLayer;


/**
 * Write a description of class PartOrder here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class PartOrder
{
    // instance variables - replace the example below with your own
    private int amount;
    private ItemContainer itemContainer;
    private Item item;
    private double partOrderPrice;
    private double partOrderPriceNoVAT;
    /**
     * Constructor for objects of class PartOrder
     */
    public PartOrder(int amount, Item item)
    {
        itemContainer = ItemContainer.getInstance();
        this.amount = amount;
        this.item = item;
        partOrderPrice = 0;
        partOrderPriceNoVAT = 0;
    }
        
    public void setAmount(int amount)
    {
        this.amount = amount;
    }
    
    public int getAmount()
    {
        return amount;
    }
    
    public void setItem(Item item)
    {
        this.item = item;
    }

    public Item getItem()
    {
        return item;
    }
    
    public void setPartOrderPrice(double partOrderPrice)
    {
        this.partOrderPrice = partOrderPrice;
    }

    public double getPartOrderPrice()
    {
        return partOrderPrice;
    }
    
    public void setPartOrderPriceNoVAT(double partOrderPriceNoVAT)
    {
        this.partOrderPriceNoVAT = partOrderPriceNoVAT;
    }

    public double getPartOrderPriceNoVAT()
    {
        return partOrderPriceNoVAT;
    }
}
